package cn.lisens.async.web;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ParamController {

	@RequestMapping(path = "param",params = "aaa=b")
	public String index(String pa) {
		return "aa";
	}
	
	@RequestMapping(path = "param2",headers = "auth-token=test")
	public String index2(String pa) {
		return "aa";
	}
}
